package br.com.mex.bean;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

import br.com.mex.entidade.Empresa;

@ManagedBean
@ViewScoped
public class CadastroBean extends AbstractBean {
	
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;
	
	private Empresa		empresa;
	
	@PostConstruct
	public void init(){
		
		empresa 	= new Empresa();
		
	}

	public Empresa getEmpresa() {
		return empresa;
	}

	public void setEmpresa(Empresa empresa) {
		this.empresa = empresa;
	}
	
}
